package com.ds.thread;

import java.util.concurrent.ScheduledExecutorService;


public class ThreadShutdown implements Runnable{
	private ScheduledExecutorService service;
	public ThreadShutdown(ScheduledExecutorService service){
		this.service=service;			
	}
	public void run() {
		service.shutdown();			
	}
}